<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
    <meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <meta HTTP-EQUIV="Expires" CONTENT="0">
    <link rel="stylesheet" href="/plugins/react/layui2/css/layui.css">
</head>
<body>

</body>
</html>
<script src="/plugins/react/layui2/layui.js"></script>
<script>
    layui.use(['layer'],function () {
        if("${weixinUrl}" !== "")
            window.location.href = "${weixinUrl}";
        else if("${success}" !== "") {
            layui.layer.msg("授权成功");
            parent.location.reload();
        }
        else if("${error}" !== "")
            layui.layer.alert("${error}");
    })
</script>